home *** CD-ROM | disk | FTP | other *** search
/ Professional Soft Collection 1.02 / Professional Soft Collection 1.02.iso / qemm.80c / technote.qip / STACKER.TEC < prev    next >
Text File  |  1995-11-04  |  16KB  |  368 lines

  1.  
  2.                         QEMM and Stacker
  3.  
  4.  Quarterdeck Technical Note #270              Filename: STACKER4.TEC
  5.  by Robert Gaustad                          CompuServe: STACK4.TEC
  6.  Last revised:  4/02/95                       Category: SW3
  7.  
  8.  Subject:  Using Stacker in all versions after 2.01 with QEMM.
  9.             Information on Stacker 4 appears first; Stacker versions
  10.             earlier than this are treated later in the note.
  11.  
  12.  Q. Is Stacker 4 compatible with QEMM?
  13.  
  14.  A. Yes.  In fact, since Stacker 4 loads itself before DOS on
  15.     MS-DOS 6 and Novell DOS 7 systems, Stacker 4 is quite
  16.     transparent to QEMM, which represents a tremendous benefit
  17.     over previous versions.
  18.  
  19.     Not only is Stacker 4 compatible with QEMM versions 7.5 and
  20.     later, but QEMM and Stacker 4 include technology jointly
  21.     developed by Quarterdeck and Stac Electronics, whereby Stacker
  22.     can greatly reduces the amount of conventional memory it uses;
  23.     thus Quarterdeck and Stac Electronics recommend that you take
  24.     advantage of this technology by upgrading to Stacker 4.
  25.  
  26.     The earliest versions of Stacker 4 did not include this
  27.     technology; a program to update Stacker feature is available
  28.     to all registered users of Stacker 4, either from Stac
  29.     Electronics or from Quarterdeck, under the filename S4UP.EXE.
  30.  
  31.     To get your copy of this file, join the CompuServe forum for
  32.     either Quarterdeck or Stac, by typing GO QUARTERDECK or GO
  33.     STAC at any CompuServe main prompt. Alternatively, using your
  34.     modem, call
  35.  
  36.     Stac Electronics BBS                 (619) 431-5956
  37.     Quarterdeck BBS                      (310) 309-3227
  38.  
  39.     In order to obtain an upgrade to Stacker 4, or technical
  40.     assistance from Stac Electronics, call the numbers below.
  41.  
  42.     Stac Electronics Technical Support   (619) 431-6712 (voice)
  43.  
  44.     Once you have acquired this file and run the update, you may
  45.     activate the Stacker feature in this way:
  46.  
  47.     1. If you are currently inside Windows, exit it.
  48.     2. At the DOS prompt, change to the Stacker directory.
  49.     3. Type ED /I
  50.     4. Press Enter to insert a new line.
  51.     5. On this new line, type /QD
  52.     6. Press Ctrl-Z to exit the editor, and save your changes.
  53.     7. Restart your system to put the changes into effect.
  54.  
  55.  Q. I installed Stacker 4 on my system and after running Optimize
  56.     I found that I have 2K less available conventional memory.
  57.     Why is this?
  58.  
  59.  A. Stacker 4 now uses Novell's DOS Protected Mode Services
  60.     (DPMS), through the driver DPMS.EXE, to place most of the
  61.     Stacker program into extended memory.  When you install
  62.     Stacker 4 on your system, the DPMS.EXE driver will
  63.     automatically be placed into the CONFIG.SYS file directly
  64.     above the STACHIGH.SYS device driver line.  The use of the
  65.     DPMS.EXE driver will reduce the size of the Stacker program
  66.     from about 44K (more or less, depending upon your
  67.     configuration) to about 17K, and /QD line in STACKER.INI will
  68.     reduce Stacker's overhead still further. However, the DPMS.EXE
  69.     driver cannot be loaded into High RAM, so it must load into
  70.     conventional memory.  This will reduce your conventional
  71.     memory by about 2K,  but since your Stacker driver is now much
  72.     smaller, you should be able to load more programs into High
  73.     RAM. Further, the Stacker-QEMM technology mentioned above will
  74.     still further reduce the amount of memory that Stacker uses.
  75.  
  76.  Q. What if I don't want to use the DPMS.EXE driver?
  77.  
  78.  A. If you don't want to use the DPMS.EXE driver, you may remove
  79.     it from the CONFIG.SYS file.  Keep in mind that after removing
  80.     DPMS.EXE and rebooting, the Stacker driver will be about 44K
  81.     in size, so you may need to run Optimize after making this
  82.     change.
  83.  
  84.  Q. How do I go about removing the DPMS.EXE driver from the
  85.     CONFIG.SYS file?
  86.  
  87.  A. Stacker 4 has a new configuration program called CONFIG.EXE.
  88.     To see what changes you can make to Stacker's configuration,
  89.     simply type:
  90.  
  91.     CONFIG /?    <ENTER>
  92.  
  93.     Two of the listed options that will display are:
  94.  
  95.     /D       Adds Stacker DPMS driver to configuration files.
  96.     /D-      Removes Stacker DPMS driver from configuration files.
  97.  
  98.     If you want to remove the DPMS.EXE driver from the CONFIG.SYS
  99.     file, simply type:
  100.  
  101.     CONFIG /D-    <ENTER>
  102.  
  103.     You will then be asked if you are sure you want the CONFIG.SYS
  104.     changed. To save the changes made, press "Y".
  105.  
  106.  Q. Is there any other way I can reduce the size of the Stacker
  107.     driver?
  108.  
  109.  A. If you want to reduce the size of the Stacker driver without
  110.     using DPMS.EXE, you may still use the /EMS parameter to load
  111.     Stacker into expanded memory.  This is much less advantageous
  112.     than the /QD parameter, and is recommended neither by Stac
  113.     Electronics nor by Quarterdeck.
  114.  
  115.     If you add the /EMS parameter to the STACKER.INI file and you
  116.     want to use QEMM's STEALTH technology, you must add a DBF:2
  117.     parameter to the QEMM device line in the CONFIG.SYS file (this
  118.     can be done from ED, too).
  119.  
  120.  
  121.  Q. Is Stacker 4 compatible with QEMM's ST-DSPC.SYS (Stealth 
  122.     D*Space) driver?
  123.  
  124.  A. No.  Even though Stacker uses a file called DBLSPACE.BIN in
  125.     order to load before the CONFIG.SYS file loads, it is not
  126.     sufficiently similar to Microsoft's DoubleSpace or DriveSpace
  127.     programs to allow ST-DSPC.SYS to work.  Stealth D*Space will
  128.     only work with Microsoft's DOS 6 DoubleSpace or DriveSpace.
  129.  
  130.  Q. After I installed Stacker 4 over my DoubleSpace program, I
  131.     received the following message:
  132.  
  133.     ST-DBL: DBLSPACE is not in use, so there is no need to load
  134.     ST-DBL.SYS.
  135.  
  136.  A. The Stacker 4 install does not detect or remove QEMM's
  137.     ST-DBL.SYS or ST-DSPC.SYS drivers, one of which may be in your
  138.     CONFIG.SYS file if you were using Microsoft's disk compression
  139.     prior to installing Stacker.  Upon installation, Stacker
  140.     simply places a device line in the CONFIG.SYS file that reads
  141.  
  142.     DEVICE=C:\STACKER\STACHIGH.SYS
  143.  
  144.     at the end of the CONFIG.SYS file. If you were previously
  145.     loading the ST-DBL.SYS device driver with a multi-config
  146.     system, replace every ST-DBL.SYS device line with the
  147.     STACHIGH.SYS device line above.  If you are loading it from a
  148.     single boot CONFIG.SYS, simply replace the one incidence of
  149.     ST-DBL.SYS.
  150.  
  151.  Q. What are the different sizes of the Stacker driver?
  152.  
  153.  A. The size of the driver is strongly dependend on the size of
  154.     our hard drive and the size of Stacker's compressed clusters.
  155.     If you are using Stacker with DPMS.EXE and the /QD parameter,
  156.     the driver's resident size will be as little as 10K.  Without
  157.     the /QD parameter, the driver will typically be at least 8K
  158.     larger. If you are using Stacker's /EMS switch, the driver
  159.     should be at least 25K.  If you are not using DPMS.EXE or the
  160.     /EMS switch, the driver should be at least 44K.  The
  161.     initialization size, the size necessary to load the driver
  162.     before it shrinks down to its resident size, is 87K no matter
  163.     what parameters you use.
  164.  
  165.  Stacker 3.1 and earlier:
  166.  
  167.  As mentioned above, both Quarterdeck and Stac Electronics
  168.  strongly recommend upgrading to Stacker 4.
  169.  
  170.  This portion of this document discusses issues related to Stacker
  171.  versions 2.01 through 3.1.  Most references to Stacker will be
  172.  without a version number, except in those instances where it is
  173.  necessary to specify a particular version.
  174.  
  175.  Any version of Stacker 2.01 or later properly detects the
  176.  presence of QEMM, regardless of whether or not you install QEMM
  177.  first. If you install QEMM after installing Stacker and you run
  178.  OPTIMIZE, Stacker will detect OPTIMIZE and copy the pertinent
  179.  QEMM files from the COMPRESSED drive to the UNCOMPRESSED boot
  180.  drive.
  181.  
  182.  This copy process is usually successful, but if you do not have
  183.  enough room on your UNCOMPRESSED drive to hold the QEMM files, you
  184.  must use the Stacker utility STAC.COM to increase the size of the
  185.  UNCOMPRESSED drive and then either run OPTIMIZE again or manually
  186.  copy over the correct files to the drive.  The following is a list
  187.  of those files needed on the UNCOMPRESSED boot drive:
  188.  
  189.  QEMM386.SYS
  190.  OPTIMIZE.COM
  191.  LOADHI.SYS
  192.  TESTBIOS.COM
  193.  LOADHI.COM
  194.  BUFFERS.COM
  195.  RSTRCFG.SYS
  196.  WINHIRAM.VXD
  197.  WINSTLTH.VXD
  198.  MCA.ADL    (if a Micro Channel machine, typically an IBM PS/2)
  199.  
  200.  To increase the size of the UNCOMPRESSED partition, through
  201.  Stacker, type:
  202.  
  203.  STAC   <ENTER>
  204.  
  205.  at the DOS prompt.  For further information regarding the STAC.COM
  206.  program, please refer to your Stacker manual.
  207.  
  208.  
  209.  1.  IF YOU ARE NOT USING SSWAP.COM
  210.  
  211.  If you are NOT using the SSWAP.COM program to swap drive names,
  212.  then Stacker will not detect the presence of OPTIMIZE and copy the
  213.  correct files to the UNCOMPRESSED drive.  However, this should not
  214.  be a problem because you will most likely have already installed
  215.  QEMM on the UNCOMPRESSED drive.
  216.  
  217.  
  218.  2.  "/SYNC" PARAMETER WITH SSWAP.COM
  219.  
  220.  If you are using the SSWAP.COM program, in order to maintain
  221.  compatibility with OPTIMIZE, you MUST have the "/SYNC" parameter
  222.  at the end of the SSWAP.COM line.  The parameters differ slightly
  223.  between version 2.01 and 3.0.  Examples of the two versions are
  224.  below:
  225.  
  226.  DEVICE=C:\STACKER\SSWAP.COM C:\STACVOL.DSK /SYNC  (VERSION 2.01)
  227.  
  228.  DEVICE=C:\STACKER\SSWAP.COM C:\STACVOL.DSK /SYNC+ (VERSION 3.00)
  229.  
  230.  Stacker places the "/SYNC" parameter at the end of the SSWAP.COM
  231.  line during installation.  It is only discussed in this document
  232.  because sometimes it is accidentally deleted.
  233.  
  234.  The /"SYNC" parameter for Stacker 3.0 has a "+" sign at the end.
  235.  The "+" tells SSWAP.COM to AUTOMATICALLY update any changed files,
  236.  such as CONFIG.SYS, that are supposed to be on both drives.  If
  237.  you delete the "+" from the "/SYNC" parameter, SSWAP.COM will only
  238.  NOTIFY you of changes to files and ask if you want to synchronize
  239.  them.
  240.  
  241.  As of Stacker version 3.0 some compatibility issues with OPTIMIZE
  242.  remained unresolved.  These issues may require some
  243.  troubleshooting as well as editing of your CONFIG.SYS and
  244.  AUTOEXEC.BAT files.
  245.  
  246.  Stacker detects the presence of OPTIMIZE and allows you to run it
  247.  without having to first edit your CONFIG.SYS and AUTOEXEC.BAT
  248.  files. If you are using SSWAP.COM, it will detect when OPTIMIZE is
  249.  being run, make changes to the drive references in the CONFIG.SYS
  250.  and AUTOEXEC.BAT files, then prompt you to press a key to reboot
  251.  the machine again for OPTIMIZE.  This will occur during the
  252.  Detection and Final Phases of OPTIMIZE.  Don't worry if your
  253.  machine reboots itself several times during OPTIMIZE; this is
  254.  normal.
  255.  
  256.  If you are using DOS 5 with Stacker, and you run OPTIMIZE, the
  257.  number of buffers may disappear from the line in the AUTOEXEC.BAT
  258.  file or CONFIG.SYS file, depending on whether or not you are
  259.  loading DOS into the HMA.  To fix this problem, simply edit the
  260.  AUTOEXEC.BAT or CONFIG.SYS file after the OPTIMIZE process is
  261.  complete and add the number of buffers you want to the
  262.  C:\QEMM\LOADHI line in the AUTOEXEC.BAT or the BUFFERS= line in
  263.  the CONFIG.SYS file.
  264.  
  265.  
  266.  3.  "INCORRECT QEMM OPTIMIZE"
  267.  
  268.  Although it is not common, there may be times during OPTIMIZE when
  269.  you will receive the message:  "Incorrect QEMM Optimize".  To fix
  270.  this problem, you must edit your CONFIG.SYS file on the
  271.  UNCOMPRESSED drive and remove the line that reads:
  272.  
  273.  DEVICE=C:\QEMM\RSTRCFG.SYS **** OPTIMIZE D%etection %P%hase ****
  274.  
  275.  After removing the line and saving the file, reboot your machine
  276.  and re-run OPTIMIZE.
  277.  
  278.  4.  OPTIMIZE.EXC and SSWAP.COM
  279.  
  280.  Some earlier versions of QEMM LOADHI.SYS driver may have a
  281.  conflict with Stacker's SSWAP.COM.  Although Stacker now creates
  282.  an OPTIMIZE.EXC file which tells the OPTIMIZE program to NOT place
  283.  a LOADHI.SYS line in front of SSWAP.COM, you must make sure that a
  284.  LOADHI.SYS line is not ALREADY in front of SSWAP.COM.  If it is,
  285.  you must remove it before running OPTIMIZE.
  286.  
  287.  5.  STACKER WITH "/EMS" SWITCH
  288.  
  289.  Stacker can put its built-in cache into EMS, which reduces the
  290.  amount of conventional memory the STACKER.COM driver requires.
  291.  You can select this option when you are installing Stacker on your
  292.  hard drive.  If you are using the STEALTH option with QEMM,
  293.  however, you must make sure that you have a "DBF=2" parameter at
  294.  the end of the QEMM line.  This is because when STACKER.COM uses
  295.  EMS, it accesses the disk via the EMS Page Frame at the same time
  296.  that STEALTH is using the Page Frame.  "DBF=2" buffers all disk
  297.  read and writes that directly access the Page Frame and thus
  298.  prevents a conflict.
  299.  
  300.  Stacker 3.0 should automatically place this parameter at the end
  301.  of the QEMM line for you, but 2.01 does NOT.  If you are using
  302.  Stacker 2.01, you MUST add this parameter manually.  Below is a
  303.  sample QEMM device line with the "DBF=2" parameter:
  304.  
  305.  DEVICE=C:\QEMM\QEMM386.SYS RAM ST:M DBF=2
  306.  
  307.  6.  "LOADHI: This program took over INT 67!"
  308.  
  309.  If you are using STACKER.COM with the "/EMS" parameter, under
  310.  certain circumstances you might get the above error message.  To
  311.  get this message, your QEMM / Stacker configuration has to be as
  312.  follows.
  313.  
  314.  1. STACKER.COM is using the "/EMS" parameter which puts Stacker's
  315.      built-in cache into EMS.
  316.  
  317.  2. You are NOT using QEMM's "STEALTH" parameter.
  318.  
  319.  3. QEMM's LOADHI.COM driver is loading, from the COMPRESSED
  320.      Stacker drive, a driver or TSR into HIGH RAM, with the
  321.      LOADHI.SYS "SQUEEZEF" (Squeeze Frame) parameter. "SQUEEZEF"
  322.      uses the Page Frame temporarily, to give a driver or TSR enough
  323.      room to initialize.  Since ANY driver or TSR loading from the
  324.      COMPRESSED Stacker drive becomes an EMS user, and subsequently
  325.      uses the Page Frame at the same time as "SQUEEZEF", the two
  326.      become incompatible.  Hence, the error message above.
  327.  
  328.  To remedy this problem, you have a number of options:
  329.  
  330.  1. Use QEMM with the "STEALTH" parameter.  Since "STEALTH" uses
  331.      the Page Frame, "SQUEEZEF" does NOT work with it.  However, the
  332.      "SQUEEZET" (Squeeze Temp) parameter which temporarily uses
  333.      areas of HIGH RAM to give a driver or TSR enough room to
  334.      initialize does work.
  335.  
  336.  2. If you do not want to use STEALTH, the easiest remedy is to
  337.      rerun OPTIMIZE with the "/NF" parameter.  This tells OPTIMIZE
  338.      to NOT use the "/SQUEEZEF parameter.
  339.  
  340.  3. A final option would be to simply load all your drivers and
  341.      TSR's from the UNCOMPRESSED boot drive.  For instance, if you
  342.      are using Stacker with SSWAP.COM, and a sample line in your
  343.      AUTOEXEC.BAT file looks like the following:
  344.  
  345.      C:\MOUSE\MOUSE
  346.  
  347.      then you must change it to read:
  348.  
  349.      D:\MOUSE\MOUSE
  350.  
  351.      After SSWAP.COM has swapped your drive names, the D: drive is
  352.      your UNCOMPRESSED drive.  If you are loading a driver from the
  353.      CONFIG.SYS file, and SSWAP.COM is the last line, there is no
  354.      need to make any changes to that file.
  355.  
  356.  The suggestions included in this technote should take care of most
  357.  of the problems you are likely to encounter with either Stacker
  358.  version 2.01 or 3.0.
  359.  
  360.  ******************************************************************
  361.  *      Trademarks are property of their respective owners.       *
  362.  *   This and other technical notes may be available in updated   *
  363.  *     forms through Quarterdeck's standard support channels.     *
  364.  *          Copyright (C) 1995 Quarterdeck Corporation            *
  365.  ******************** E N D   O F   F I L E ***********************
  366.  
  367.  
  368.